home *** CD-ROM | disk | FTP | other *** search
- global sidecounter, hsrectlist
-
- on mouseUp
- global objpctsprite
- set hoffset to the left of sprite objpctsprite
- set voffset to the top of sprite objpctsprite
- repeat with r in hsrectlist
- set left to getAt(r, 1) + hoffset
- set top to getAt(r, 2) + voffset
- set right to getAt(r, 3) + hoffset
- set bottom to getAt(r, 4) + voffset
- set order to getPos(hsrectlist, r)
- puppetSprite(33 + order, 1)
- set the rect of sprite (33 + order) to rect(left, top, right, bottom)
- end repeat
- updateStage()
- wait(0.70000000000000007)
- repeat with spriteNum = 34 to 45
- puppetSprite(spriteNum, 0)
- end repeat
- end
-